<a href="photo.php?up=true"><img src="images/previous.png" width="150"/></a><br/>
<form action="photo.php" method="post">
	<div class="fieldset">
		<div class="legend">Photo details</div>
		<a class="label">Name</a><input type="text" name="name" value="<?php print $_SESSION['photo']->getName(); ?>"/><br/>
		<a class="label">Description</a><input type="text" name="description" value="<?php print $_SESSION['photo']->getDescription(); ?>"/><br/>
		<a class="label">Creation Time</a><input type="text" name="creation_time" value="<?php print $_SESSION['photo']->getCreationTime(); ?>" disabled/><br/>
		<button name="edit_btn">Edit!</button>
		<button name="delete_btn">Delete!</button>
	</div>
</form>
<div class="legend"><?php print $_SESSION['photo']->getName(); ?></div>
<img alt="<?php print $_SESSION['photo']->getName(); ?>" src="<?php print $_SESSION['photo']->getFilename(); ?>" width="800"/>